﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaseData.HelperEzui
{
    public class Accordion
    {
        public Accordion()
        {
            this.Display = true;
        }
        public List<Accordion> children { get; set; }
        public int id { get; set; }
        public int pId { get; set; }
        public int SortId { get; set; }
        public string text { get; set; }
        public string url { get; set; }
        public string Ico { get; set; }
        public bool Display { get; set; }
        public List<Enums.AccType> list { get; set; }
    }
    public class AccordionXml
    {
        public AccordionXml()
        {
            this.Display = true;
            this.state = Enums.TreeStat.Open.ToString().ToLower();
        }
        public List<AccordionXml> children { get; set; }
        public int id { get; set; }
        public string text { get; set; }
        public string url { get; set; }
        public string Ico { get; set; }
        public string state { get; set; }
        public bool Display { get; set; }
        public List<Enums.AccType> list { get; set; }
    }
}
